*{
	margin: 0;
	padding: 0;
}
/* 首页列表板块 */
header{
	width: 100%;
	height: 60px;
	background-color:black;
	color: white;
	position: sticky;
	top: 0;
	z-index: 999999;
}
header a{
	color: white;
}
header a:hover{
	text-decoration: underline;
}
header #box{
	width: 1280px;
	height: 100%;
	font-size: 16px;
	position: relative;
	margin: 0 auto;
}
/* 首页logo区 */
header .logo{
	width:15%;
	height: 100%;
	float: left;
}
header .logo img{
	display: block;
	height: 100%;
	margin: 0 auto;
}
/* 首页中间区域 */
header .listlef{
	width: 60%;
	height: 100%;
	float: left;
	/* overflow: hidden; */
	text-align: center;
	position: relative;
}
header .listlef li{
	/* width: 100%; */
	height: 100%;
	float: left;
	font-size: 12px;
	line-height: 60px;
	margin-left: 3%;
}
/* 新品推荐的hover效果 */
header .listlef .newPro div{
	width:100%;
	height:60px;
	position: absolute;
	top:60px;
	right: 25%;
	z-index: 99999999;
	text-align: center;
	margin: 0 auto;
	display: none;
	font-size: 18px;
	font-weight: 700;
	background-color: white;
}
header .listlef .newPro div ul{
	width: 1280px;
	height: 100%;
	margin: 0 auto;
	background-color: white;
}
header .listlef .newPro div ul a{
	color: #000000;
	text-decoration: none;
}
header .listlef .newPro div ul li{
	float: left;
	width: 13%;
	height: 100%;
}
header .listlef .newPro:hover div{
	display: block;
	width: 100%;
}
header .listlef .newPro ul li:hover{
	display:block;
	background-color: darkgray;
}
/* 全部产品的hover效果 */
header .listlef .allPro div{
	width: 100%;
	background-color: black;
	height:60px;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	position: absolute;
	top:60px;
	right: 25%;
	z-index: 99999999;
	display: none;
}
header .listlef .allPro ul{
	width: 1280px;
	height: 100%;
	margin: 0 auto;
	background-color: white;
}
header .listlef .allPro div ul li{
	float: left;
	width: 16%;
	height: 100%;
}
header .listlef .allPro ul a{
	color: #000000;
	text-decoration: none;
}
header .listlef .allPro:hover div{
	display: block;
}
header .listlef .allPro div ul li:hover{
	display:block;
	background-color: darkgray;
}
/* 首页右边 */
header .listrig{
	float:right;
	width: 25%;
	height: 100%;
	/* overflow-y: hidden; */
}
header .listrig ul{
	width: 70%;
	height: 100%;
}
header .listrig ul li{
	float: left;
	height: 100%;
	font-size: 22px;
	line-height: 60px;
	margin-left: 10%;
}
header .listrig .login,.reg{
	/* display: block; */
	font-size: 14px;
	line-height: 55px;
	opacity: 0.7;
	background-color: #000000;
}
header .listrig .login:hover{
	text-decoration: underline;
}
header .listrig .reg:hover{
	text-decoration: underline;
}
header .shopcar{
	width: 5%;
	font-size: 50px;
	line-height: 60px;
	text-align: center;
	position: absolute;
	right:0px;
	top: 0px;
	float: right;
}
section{
	width: 1280px;
	margin: 0 auto;
}
section #cartop{
	text-align: center;
	font-weight: 700;
	font-size:40px;
	padding: 20px 0;
}
section #carmid{
	/* background-color: darkorange; */
	font-size: 20px;
	text-align: center;
	font-weight: 700;
}
section #carmid tr{
	height: 100px;
	/* line-height: 100px; */
}
section #carmid tr th{
	/* background-color: deepskyblue; */
}
section #carmid tr #checkall{
	width: 30px;
	height: 30px;
}
section #carmid tr td{
	width:16%;
}
section #carmid tbody .firsttd{
	/* background-color: #0000FF; */
}
section #carmid tbody .firsttd img{
	display: block;
	width: 50%;
	float: left;
	margin-top: 25px;
}
section #carmid tbody .firsttd span{
	display: block;
	float: right;
	width: 50%;
	font-size: 14px;
	margin-top: 50px;
}
section #carmid tbody tr td .count{
	outline: none;
	border: 1px solid gainsboro;
	border-radius:5px;
	width: 20%;
	height: 30px;
	line-height: 30px;
	text-align: center;
	background-color: lightslategrey;
	font-size: 18px;
}
section #carmid tbody tr td .sub,.add{
	width: 15%;
	border: 1px solid gainsboro;
	background-color: lightslategrey;
	height: 40px;
	text-align: center;
	font-size: 18px;
	border-radius: 5px;
}
section #carmid tbody tr td .sub,.add,.delete:hover{
	cursor: pointer;
}
section #carmid tbody tr td .countprice{
	color: red;
	margin: 0 5px;
}
section #carmid tbody tr .checkbox{
	width: 50px;
	height: 50px;
}
section #carmid tbody tr td .delete{
	width:30%;
	border: 1px solid gainsboro;
	background-color: lightslategrey;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: 5px;
	font-size: 16px;
}
section #carmid tbody #templete{
	display: none;
}
section #carmid tbody #lasttr{
	text-align: left;
	font-size: 25px;
	margin:40px 0;
}
section #carmid tbody #lasttr .totalcount,.totalprice{
	color: red;
	margin: 0 5px;
}
/* 查看推荐区域 */
section #carmid #groom{
	width: 100%;
	/* background-color: #87CEEB; */
}
section #carmid #groom h2{
	text-align: left;
	font-size: 30px;
	font-weight: 700;
	height: 60px;
	line-height: 60px;
}
section #carmid #groom ul{
	width: 100%;
	height: 300px;
}
section #carmid #groom ul li{
	float: left;
	width: 33%;
}
section #carmid #groom ul li img{
	width: 50%;
	display: block;
	float: left;
}
section #carmid #groom ul li span{
	width: 50%;
	float: right;
	margin: 50px 0;
}
section #carmid #groom ul li button{
	width: 33%;
	color: white;
	height: 50px;
	background-color: black;
	font-size: 16px;
}
section #carmid #groom ul li button a{
	color: white;
}
section #carmid #groom ul li button a:hover{
	text-decoration: underline;
}
section #carund{
	width: 100%;
	margin: 0 auto;
	background-color: #f0f0f0;
	height: 100px;
}
section #carund p{
	height: 50px;
	font-weight: 700;
	font-size: 25px;
	line-height: 50px;
}
section #carund p{
	height: 50px;
	font-size: 20px;
	line-height: 50px;
}























footer{
	width: 100%;
	color: white;
	background-color: #000000;
	position: absolute;
}
footer a{
	width: 100%;
	color: white;
	text-decoration: underline;
}
footer #footbox{
	padding-top: 30px;
	width: 1280px;
	height: 650px;
	margin: 0 auto;
	background-color: black;
}
footer #footbox ul{
	float: left;
	width: 18%;
	margin-top: 20px;
	margin-left: 20px;
}
footer #footbox ul li{
	margin: 15px auto;
	/* text-indent: 30%; */
}
footer #footbox ul .firstli{
	font-size: 18px;
	margin-bottom: 10px;
	font-weight: 700;
}

